package com.mys;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 功能:   --层
 * <p>  --层</p >
 * <ul>
 * <li>{@link spring} connect to {@link spring}</li>
 * </ul>
 *
 * @Program: spring
 * @Date: 2022-04-05 13:18
 * @Version 1.0
 * @Author mys
 */
public class spring {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring.xml");
		Person person = (Person) applicationContext.getBean("person");
		System.out.println(person);

	}
}
